package com.xl.generator.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;
@Data
public class CommunityPostDto {

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField(value = "createUserId")
    private Integer createUserId;

    /**
     *
     */
    @TableField(value = "postContent")
    private String postContent;

    /**
     *
     */
    @TableField(value = "postTitle")
    private String postTitle;

    /**
     *
     */
    @TableField(value = "parentId")
    private Integer parentId;

    /**
     *
     */
    @TableField(value = "createTime")
    private Date createTime;

    private String userName;

    private int roleId;
}
